package com.nys.cqhttp.mapper;

import com.nys.cqhttp.model.GuessMessage;
import com.nys.cqhttp.model.GuessMessageExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface GuessMessageMapper {
    long countByExample(GuessMessageExample example);

    int deleteByExample(GuessMessageExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(GuessMessage record);

    int insertSelective(GuessMessage record);

    List<GuessMessage> selectByExample(GuessMessageExample example);

    GuessMessage selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") GuessMessage record, @Param("example") GuessMessageExample example);

    int updateByExample(@Param("record") GuessMessage record, @Param("example") GuessMessageExample example);

    int updateByPrimaryKeySelective(GuessMessage record);

    int updateByPrimaryKey(GuessMessage record);

    List<GuessMessage> lastData(@Param("jqrQq") String jqrQq,@Param("userQq") String userQq,@Param("num") Integer num);
}